<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png">
    {{ $filters.currencyUSD(data.numb) }}
    <button type="button" @click="btn">我是父组件的按钮</button>
    <About name="子组件内容" @submit="btn"></About>
  </div>
</template>

<script setup>
import * as options from 'vue'
import About from '@/views/About'
import http from '@/common/http'
console.log(http)
const data = options.reactive({
  numb: 222
})
const btn = res => {
  console.log(res)
  alert(res)
}
</script>
